package com.wuli.food.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wuli.food.dto.FoodDto;
import com.wuli.food.entity.Food;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuli.food.vo.FoodAddVo;
import com.wuli.food.vo.FoodSearchVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiongqiaoqiao
 * @since 2023-05-18
 */
public interface FoodService extends IService<Food> {

    String add(FoodAddVo addVo);

    IPage<FoodDto> search(FoodSearchVo searchVo);

    FoodDto getDetail(String id);
}
